package cn.fzc.yipai.conf;

import cn.fzc.yipai.entity.AccountInfo;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: fu.zc
 * @Date: 2021/7/16 17:06
 * @Description:
 */
@Component
@ConfigurationProperties(prefix = "user")  //配置文件的信息，读取并自动封装成实体类,与配置文件前缀一致
@Data
public class UserAccountConfiguration {

    private List<AccountInfo> accountInfoList;
}
